package com.hogwarts.webui;

import com.hogwarts.base.WebUIBase;
import io.qameta.allure.Feature;
import io.qameta.allure.Story;
import org.apache.log4j.Logger;
import org.junit.jupiter.api.Test;

@Feature("WebUI自动化测试")
public class WebUITestReport extends WebUIBase {
    private Logger logger = Logger.getLogger(WebUITestReport.class);

    @Test
    @Story("FireFox浏览器测试")
    public void bingFirefox(){
        resetWD();
        setWebDriver("firefox");
        navigation.to("https://cn.bing.com/");
    }

    @Test
    @Story("Chrome浏览器测试")
    public void bingChrome(){
        resetWD();
        setWebDriver("chrome");
        navigation.to("https://cn.bing.com/");
        wait5s();
    }
}
